#set($layout = "/layout/no.html")  
#parse("/common/common.html")
##grid
<div class="row">
<div class="col-xs-12">
<!-- 按钮 -->
	<div class="widget-box widget-color-blue">
		<div class="widget-body ud-grid-widget">
			<div class="widget-toolbox">
				<div class="btn-toolbar">
						#buttons($buttons.doBtn)
				</div>
			</div>
		</div>
				
	</div>
	</div>
	<!-- 参数-->
	<div class="col-xs-12">
	<div class="widget-box widget-color-blue">
	     <div class="widget-body ud-grid-widget">
			<div class="widget-toolbox">
				<div class="btn-toolbar">
						审批意见
				</div>
			</div>
		</div>
		<div class="widget-body ud-grid-widget">
			<form action="#" id="mainForm">
			<input type="hidden" id="nodeId" name="nodeId" value="$!{nextActNode.nodeId}"/>
			<input type="hidden" id="nodeAction" name="nodeAction" value="$!{nextActNode.nodeAction}"/>
			
			<!-- parocessDto -->
			<input type="hidden" id="defId" name="defId" value="$!{taskDto.defId}"/>
			<input type="hidden" id="instanceId" name="instanceId" value="$!{taskDto.instanceId}"/>
			<input type="hidden" id="taskId" name="taskId" value="$!{taskDto.taskId}"/>
			<input type="hidden" id="nodeType" name="nodeType" value="$!{nextActNode.nodeType}"/>
			<input type="hidden" id="nextUserIds" name="nextUserIds" value=""/><!-- 用户信息 -->
			<input type="hidden" id="actKey" name="actKey" value="$!{taskDto.actKey}"/>
			<input type="hidden" id="busId" name="busId" value="$!{taskDto.busId}"/>
			<input type="hidden" id="startUserId" name="startUserId" value="$!{taskDto.startUserId}"/>
			<input type="hidden" id="dealId" name="dealId" value="$!{taskDto.dealId}"/>
			 <div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<div  class="col-xs-12 col-sm-12" >
						<textarea id="remark" name="remark" class="form-control" style="height: 200px;"></textarea>
					</div>
				</div>
			</div>
			</form>
		</div>	
	</div>
	</div>
	<!-- 人员 -->
	<!-- 下一节点是结束节点不显示 -->

	#if($nextActNode.nodeType == 2)
	<div class="col-xs-12">
	<div class="widget-box widget-color-blue">
		<div class="widget-body ud-grid-widget">
			<table id="mainGrid" class="table table-striped m-b-none">
			</table>	
			<div id="mainGridPager"></div>
		</div>
				
	</div>
	</div>
	#else
	<div class="col-xs-12" style="display: none;">
	<div class="widget-box widget-color-blue">
		<div class="widget-body ud-grid-widget">
			<table id="mainGrid" class="table table-striped m-b-none">
			</table>	
			<div id="mainGridPager"></div>
		</div>
				
	</div>
	</div>
	#end
	
	 #if($detailUrl != "")
	<!-- 详情页面 -->
	<div class="col-xs-12">
	<div class="widget-box widget-color-blue">
	 <div class="widget-body ud-grid-widget">
			<div class="widget-toolbox">
				<div class="btn-toolbar">
						详情页面
				</div>
			</div>
		</div>
		<div class="widget-body ud-grid-widget">
			<iframe src="$!{detailUrl}" width='100%' height="auto" style="min-height:1000px " frameborder='0' scrolling='no'></iframe>
		</div>
	</div>
	</div>
	#end
</div>
<script src="${contextPath}/view/activiti/deal/myUpcoming/js/todo.js"></script>